from gen import generate_data
from alg import Solution

def main():
    m, n, hcut, vcut = generate_data(3, 2)
    print("m =", m)
    print("n =", n)
    print("horizontalCut =", hcut)
    print("verticalCut =", vcut)

    solver = Solution()
    result = solver.minimumCost(m, n, hcut, vcut)
    print("Minimum total cost =", result)

if __name__ == "__main__":
    main()
